DPL: default to transport=shmem on the same host - #3591
Conversation
|
@ktf : Please wait a bit merging this. I am seeing some issues in the TPC workflow, when I use this in multiple places. Is there perhaps a limit on the total size of shared memory buffers I can use? |
|
I think the default by FairMQ is 2GB. |
|
you can check in the device log, actually. |
|
I assume you mean this: I am certainly exceeding the 2GB in my test, but I would have expected some error message during allocation. Instead it crashes. I'll check why and where and then report back. Another note: I tried to increase the size using the |
|
@ktf @matthiasrichter @rbx @shahor02 : I tried with all the latest versions + this PR to test with shared memory, and I see 2 problems:
I think these 2 issues should be addressed before this PR is merged. Stack trace when stuck in allocation: |
|
For reference, besides the above 2 issues, shared memory transport is fully working for the TPC workflow with TPC ZS Raw data, ClusterNative, and Compressed Clusters all moved via shared memory as zero-copy and the shared memory region is also registered correctly for GPU DMA transfer. (Needs this PR + #3528) Very nice! Let's get the above 2 issues solved and then LGTM! |
|
|
OK, that explains it. For 2. : I think both approaches have there use cases, waiting or bailing out. So I would make it switchable. And then in my opinion the default inside DPL running on a laptop / desktop should be to throw an exception. |
|
@davidrohr for 1. I suggest we track it in https://alice.its.cern.ch/jira/browse/O2-1434 and we merge this as is. |
|
for 2. I agreed. |
|
@ktf : This breaks the tpc workflow right now with default settings. |
|
FairMQ @ @Barthelemy the changes from @ktf with the signal handling are also in the tag. The tag also contains |
…p#3591)" (AliceO2Group#3609) This reverts commit 312a569.
No description provided.